package com.zhonghui.procurement.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhonghui.common.annotation.Excel;
import com.zhonghui.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 我的测评对象 evaluation_template
 * 
 * @author zhonghui
 * @date 2023-12-10
 */
public class Assessment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @Excel(name = "序号")
    private Long id;

    /** 测评模板名称 */
    @Excel(name = "测评模板名称")
    private String templateName;

    /** 总分 */
    @Excel(name = "总分")
    private String totalScore;

    /** 安全等级 */
    @Excel(name = "安全等级")
    private String securityLevels;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updataTime;
    /** 时间周期-开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    /** 时间周期-结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endTime;
    /** 得分 */
    private String score;
    /** 完成时间 */
    private Date completionTime;
    /** 题干id */
    private Long libraryId;

    /** 任务id */
    private Long taskId;

    public Long getTaskId() {
        return taskId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }


    public Date getCompletionTime() {
        return completionTime;
    }

    public void setCompletionTime(Date completionTime) {
        this.completionTime = completionTime;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public Long getLibraryId() {
        return libraryId;
    }

    public void setLibraryId(Long libraryId) {
        this.libraryId = libraryId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTemplateName(String templateName)
    {
        this.templateName = templateName;
    }

    public String getTemplateName()
    {
        return templateName;
    }
    public void setTotalScore(String totalScore)
    {
        this.totalScore = totalScore;
    }

    public String getTotalScore()
    {
        return totalScore;
    }
    public void setSecurityLevels(String securityLevels)
    {
        this.securityLevels = securityLevels;
    }

    public String getSecurityLevels()
    {
        return securityLevels;
    }
    public void setState(String state)
    {
        this.state = state;
    }

    public String getState()
    {
        return state;
    }
    public void setUpdataTime(Date updataTime)
    {
        this.updataTime = updataTime;
    }

    public Date getUpdataTime()
    {
        return updataTime;
    }

    @Override
    public String toString() {
        return "Assessment{" +
                "id=" + id +
                ", templateName='" + templateName + '\'' +
                ", totalScore='" + totalScore + '\'' +
                ", securityLevels='" + securityLevels + '\'' +
                ", state='" + state + '\'' +
                ", updataTime=" + updataTime +
                ", createTime=" + createTime +
                ", endTime=" + endTime +
                ", score=" + score +
                ", completionTime=" + completionTime +
                ", libraryId=" + libraryId +
                '}';
    }
}
